/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.brands.application.ics.facade;

import br.com.brands.application.ics.beans.BrandsBeans;
import java.util.List;
import javax.ejb.EJBException;
import javax.ejb.Local;

/**
 *
 * @author ppacheco
 */
@Local
public interface BrandsFacadeBeanLocal {

    BrandsBeans delete(BrandsBeans brands) throws EJBException;

    List<BrandsBeans> findAll(BrandsBeans brands) throws EJBException;

    BrandsBeans findByID(BrandsBeans brands, Long id, boolean lock) throws EJBException;

    BrandsBeans save(BrandsBeans brands) throws EJBException;

    BrandsBeans saveOrUpdate(BrandsBeans brands) throws EJBException;
}
